<?php

namespace App\Rpc\Client;


use Six\Rpc\Client\Contract\ProviderInterface;

class Client extends \Six\Rpc\Client\Client
{

    protected $serviceName;

    public function getProvider(): ?ProviderInterface
    {
        //var_dump($this->getServiceName());
        return $this->provider = new Provider($this->getServiceName());
    }

    public function getServiceName()
    {
        return $this->serviceName;
    }
}
